TinyAD: Automatic Differentiation in Geometry Processing Made Simple

نویسندگان

چکیده

Non-linear optimization is essential to many areas of geometry processing research. However, when experimenting with different problem formulations or prototyping new algorithms, a major practical obstacle the need figure out derivatives objective functions, especially second-order are required. Deriving and manually implementing gradients Hessians both time-consuming error-prone. Automatic differentiation techniques address this problem, but can introduce diverse set obstacles themselves, e.g. limiting supported language features, imposing restrictions on program's control flow, incurring significant run time overhead, making it hard exploit sparsity patterns common in processing. We show that for geometric problems, particular meshes, simplest form forward-mode automatic not only most flexible, also actually efficient choice. TinyAD: lightweight C++ library automatically computes Hessians, sparse by differentiating small (tiny) sub-problems. Its simplicity enables easy integration; no on, e.g., looping branching imposed. TinyAD provides basic ingredients quickly implement first second order Newton-style solvers, allowing flexible adjustment solver details. By showcasing compact implementations methods from parametrization, deformation, direction field design, we demonstrate how lowers barrier exploring non-linear techniques. This fast research ideas, improves replicability existing algorithms available community as an open source library.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The simple essence of automatic differentiation (Differentiable functional programming made easy)

Automatic differentiation (AD) in reverse mode (RAD) is a central component of deep learning and other uses of large-scale optimization. Commonly used RAD algorithms such as backpropagation, however, are complex and stateful, hindering deep understanding, improvement, and parallel execution. This paper develops a simple, generalized AD algorithm calculated from a simple, natural specification. ...

متن کامل

Geometry optimization made simple with translation and rotation coordinates.

The effective description of molecular geometry is important for theoretical studies of intermolecular interactions. Here we introduce a new translation-rotation-internal coordinate (TRIC) system which explicitly includes the collective translations and rotations of molecules, or parts of molecules such as monomers or ligands, as degrees of freedom. The translations are described as the centroi...

متن کامل

Advanced Concepts in Time-frequency Signal Processing Made Simple

The authors are with the Department of Electrical Engineering, Arizona State University, Tempe, AZ 85287. (Emails: [email protected], [email protected], [email protected]) This work was supported by the National Science Foundation grant CCLI DUE – 0089075. Abstract  Time -frequency representations (TFRs) such as the spectrogram are important two-dimensional tools for processing time-varying sign...

متن کامل

Parleda: a Library for Parallel Processing in Computational Geometry Applications

ParLeda is a software library that provides the basic primitives needed for parallel implementation of computational geometry applications. It can also be used in implementing a parallel application that uses geometric data structures. The parallel model that we use is based on a new heterogeneous parallel model named HBSP, which is based on BSP and is introduced here. ParLeda uses two main lib...

متن کامل

Concurrent Timestamping Made Simple

Concurrent Time-stamp Systems (ctss) allow processes to temporally order concurrent events in an asynchronous shared memory system, a powerful tool for concurrency control, serving as the basis for solutions to coordination problems such as mutual exclusion, `-exclusion, randomized consensus, and multi-writer multi-reader atomic registers. Solutions to these problems all use an \unbounded numbe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Computer Graphics Forum

سال: 2022

ISSN: ['1467-8659', '0167-7055']

DOI: https://doi.org/10.1111/cgf.14607